package com.hashbee.bbs.domain;

import java.util.Date;

public class Tags {
    private String name;

    private Integer useCount;

    private Date createTime;

    public Tags() {
        this.name = "";
        this.useCount = 1;
        this.createTime = new Date();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getUseCount() {
        return useCount;
    }

    public void setUseCount(Integer useCount) {
        this.useCount = useCount;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}